package com.guofen.dao;

import com.guofen.pojo.KitchenwasteExport;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface KitchenwasteExportMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(KitchenwasteExport record);

    int insertSelective(KitchenwasteExport record);

    KitchenwasteExport selectByPrimaryKey(Integer id);

    KitchenwasteExport getlast();

    int updateByPrimaryKeySelective(KitchenwasteExport record);

    int updateByPrimaryKey(KitchenwasteExport record);

    List<KitchenwasteExport> selectAll();

    List<KitchenwasteExport> selectByDate(@Param("startDate") String startDate,
                                       @Param("endDate") String endDate);
}